import request from '../utils/request'

/**
 * 获取保险列表
 */
export function twoLevelMainteList(params) {
  return request({
    url: '/api/twoLevelMainteList',
    method: 'post',
    data: {...params}
  })
}

/**
 * 添加保险
 */
export function addTwoLevelMainte(params) {
  return request({
    url: '/api/addTwoLevelMainte',
    method: 'post',
    data: {...params}
  })
}
/**
 * 编辑保险
 */
export function editTwoLevelMainte(params) {
  return request({
    url: '/api/editTwoLevelMainte',
    method: 'post',
    data: {...params}
  })
}
/**
 * 获取保险详情
 */
export function twoLevelMainteInfo(params) {
  return request({
    url: '/api/twoLevelMainteInfo',
    method: 'post',
    data: {...params}
  })
}

/**
 * 删除保险保险
 */
export function delTwoLevelMainte(ids) {
  return request({
    url: '/api/delTwoLevelMainte',
    method: 'delete',
    data: {ids}
  })
}
/**
 * 获取数据字典
 */
export function dictData(params) {
  return request({
    url: '/api/dictData',
    method: 'post',
    data: {...params}
  })
}
/**
 * 新增包车收入
 */
export function store(params) {
  return request({
    url: '/api/twoLevel/store',
    method: 'post',
    data: {...params}
  })
}
